package com.youxin.busfoundation.common.es.bean;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.youxin.foundation.utils.DateUtil;

import java.math.BigInteger;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;

/**
 * @desc 企业画像商务合作-资源
 * @author Kris.wang
 * @date 2017-12-01 14:23:00
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class PortraitResourceBean {
	private List<Integer> area;
	@JsonProperty("area_name")
	private List<String> areaName;
	private String uid;
	@JsonProperty("company_uid")
	private String companyUid;
	@JsonProperty("member_uid")
	private String memberUid;
	@JsonProperty("supply_needs")
	private Integer supplyNeeds;
	private Integer type;
	private String title;
	@JsonProperty("industry_name")
	private List<String> industryName;
	@JsonProperty("industry")
	private List<Integer> industry;
	@JsonProperty("begin_time")
	private String beginTime;
	@JsonProperty("end_time")
	private String endTime;
	@JsonProperty("region_ids")
	private String regionIds;
	@JsonProperty("detail_text")
	private String detailText;
	private String email;
	private String mobile;
	private String telephone;
	private String name;
	private String position;
	@JsonProperty("coop_methods")
	private String coopMethods;
	@JsonProperty("coop_purposes")
	private String coopPurposes;
	@JsonProperty("logo_url")
	private String logoUrl;
	public String getUid() {
		return uid;
	}
	public void setUid(String uid) {
		this.uid = uid;
	}
	public String getCompanyUid() {
		return companyUid;
	}
	public void setCompanyUid(String companyUid) {
		this.companyUid = companyUid;
	}
	public String getMemberUid() {
		return memberUid;
	}
	public void setMemberUid(String memberUid) {
		this.memberUid = memberUid;
	}
	public Integer getSupplyNeeds() {
		return supplyNeeds;
	}
	public void setSupplyNeeds(Integer supplyNeeds) {
		this.supplyNeeds = supplyNeeds;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getRegionIds() {
		return regionIds;
	}
	public void setRegionIds(String regionIds) {
		this.regionIds = regionIds;
	}
	public String getDetailText() {
		return detailText;
	}
	public void setDetailText(String detailText) {
		this.detailText = detailText;
	}
	public List<String> getIndustryName() {
		return (industryName==null)?null:industryName;
	}
	public void setIndustryName(List<String> industryName) {
		this.industryName = industryName;
	}
	public List<Integer> getIndustry() {
		return industry;
	}
	public void setIndustry(List<Integer> industry) {
		this.industry = industry;
	}
	public String getBeginTime() {
		if (beginTime == null) {
			return "";
		}
		return DateUtil.minuteTimeToString(beginTime, "yyyy-MM-dd");
	}
	public void setBeginTime(String beginTime) {
		this.beginTime = beginTime;
	}
	public String getEndTime() {
		if (endTime == null) {
			return "";
		}
		return DateUtil.minuteTimeToString(endTime, "yyyy-MM-dd");
	}
	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}
	public List<Integer> getArea() {
		return area;
	}
	public void setArea(List<Integer> area) {
		this.area = area;
	}
	public List<String> getAreaName() {
		return areaName;
	}
	public void setAreaName(List<String> areaName) {
		this.areaName = areaName;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getMobile() {
		return mobile;
	}
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	public String getTelephone() {
		return telephone;
	}
	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPosition() {
		return position;
	}
	public void setPosition(String position) {
		this.position = position;
	}
	public String getLogoUrl() {
		return logoUrl==null?"":logoUrl;
	}
	public void setLogoUrl(String logoUrl) {
		this.logoUrl = logoUrl;
	}
	public String getCoopMethods() {
		return coopMethods;
	}
	public void setCoopMethods(String coopMethods) {
		this.coopMethods = coopMethods;
	}
	public String getCoopPurposes() {
		return coopPurposes;
	}
	public void setCoopPurposes(String coopPurposes) {
		this.coopPurposes = coopPurposes;
	}
}
